<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document" style="width:80rem">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">{{vm.modalTitle}}</h4>
            </div>
            <div class="modal-body">
                <div style="height: 40rem">
                    <div id="dapan_chart" style="height: 40rem;width: 70rem;"></div>
                </div>
            </div>
            <div class="modal-footer">
            </div>
        </div>
    </div>
</div>
<!--导航栏-->
<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                        rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/star">首页</a>
                </li>
                <li class="active">招聘者大盘</li>
            </ul>
        </div>
    </div>
</div>

<!--查询条件-->
<div class="container-fluid" style="margin: 0 10px 0 10px;">
    <div class="row">
        <div class="col-xs-12 col-md-12">
            <div class="page-header" style="margin: 20px 0 20px;">
                <form class="form-inline">
                    <div class="form-group">
                        <div class='input-group date' id='bizTime'>
                            <label for="bizTime" style="display: table-cell;">业务时间：</label>
                            <input type='text' class="form-control" ng-model="vm.p.bizTime" name="bizTime"
                                style="width: 17.6rem" />
                            <span class="input-group-addon" style="width: 4rem">
                                <span class="glyphicon glyphicon-calendar"></span>
                            </span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="biz">业务线：</label>
                        <select class="form-control" id="biz" ng-model="vm.p.biz" ng-init="wuba" style="width:17.6rem" ng-change="changeDim()">
                            <option value="58">58招聘</option>
                            <option value='ganji'>赶集</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label for="dim">维度：</label>
                        <select class="form-control" id="dim" ng-model="vm.p.dimId" style="width:34rem"
                            ng-options="item.dimId as item.dimNameCn for item in vm.dimArr">
                        </select>
                    </div>
                    <button id="refreshTable" type="button" class="btn btn-primary" ng-click="queryDashboard()">
                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询
                    </button>
                </form>
            </div>
        </div>
    </div>
</div>

<div class="container-fluid" style="margin: 0 10px 0 10px;">

    <div class="row">
        <!--<div class="col-xs-12 col-md-12">-->
        <!--<h2 class="page-header" style="margin: 20px 0 20px;">维度分析</h2>-->
        <!--</div>-->
        <!-- <div class="col-xs-12 col-md-12" ng-repeat="item in vm.dashboardDimData" my-repeat-finish="initTables()">
            <div class="panel panel-default">
                <div class="panel-heading">{{item.appTitle}}</div>
                <table id="list_table_{{item.configId}}" class="table" data-pagination="true"
                    data-side-pagination="client" data-cache="false" data-loading-template="loadingTemplate"
                    data-cache="false">
                </table>
            </div>
        </div> -->
        <div class="col-xs-12 col-md-12">
            <label style="float: right">耗时：{{vm.result.ms}}ms</label>
            <div class="panel panel-default">
                <div class="panel-heading">{{vm.dimTable.appTitle}}</div>
                <table id="list_table" class="table" data-pagination="true" data-side-pagination="client"
                    data-cache="false" data-loading-template="tableLoadingTemplate" data-cache="false" data-show-export="true">
                    <thead>
                        <tr>
                          <th data-field="isLoading">加载中</th>
                        </tr>
                      </thead>
                </table>
            </div>
        </div>
    </div>
</div>